const getters = {
  sidebar: state => state.app.sidebar,
  device: state => state.app.device,
  token: state => state.user.token,
  username: state => state.user.userInfo.username, // 获取到 用户名称
  userId: state => state.user.userInfo.userId,
  staffPhoto: state => state.user.userInfo.staffPhoto, // 用户头像
  name: state => state.user.userInfo.username,
  companyId: state => state.user.userInfo.companyId
}
export default getters
